package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @Author Kevin
 * @Date 2021-04-10 11:46:43
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-------------paymentInfo_OK fall back,┭┮﹏┭┮";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-------------paymentInfo_TimeOut fall back,┭┮﹏┭┮";
    }
}
